package com.sacc.service.Impl;

import com.sacc.mapper.OrderDoneMapper;
import com.sacc.pojo.OrderDone;
import com.sacc.service.OrderDoneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 滚~韬
 * @date 2022/4/8 14:08
 */
@Service
public class OrderDoneServiceImpl implements OrderDoneService {
    @Autowired
    private OrderDoneMapper orderDoneMapper;

    /**
     * 添加一个完成订单
     * @param orderDone
     */
    public void AddOrderDone(OrderDone orderDone){
        orderDoneMapper.insert(orderDone);
    }
}
